import com.howlaisi.devops.scm.Gt;

def checkout(gitUrl, branchName, credentialsId) {
    new Gt().checkout(gitUrl, branchName, credentialsId)
}

def clone(gitUrl, branchName, credentialsId) {
    new Gt().clone(gitUrl, branchName, credentialsId)
}

// 选择分支，以triggerBranchName为准，如果没有就选择paramBranchName
def chooseBranchName() {
    println("进入到了chooseBranchName方法")
    return new Gt().chooseBranchName()
}
